<table class="xsui-table xsui-table-striped xsui-table-hover xsui-table-bordered">
    <thead>
        <tr>
            <th>订单编号</th>
            <th>快递单号</th>
            <th>会员名称</th>
            <th>运费金额</th>
            <th>商品金额</th>
            <th>订单金额</th>
            <th>折扣金额</th>
            <th>下单时间</th>
            <th>订单备注</th>
            <th>隐藏订单</th>
            <th>操作</th>
        </tr>
    </thead>
    <tbody>
    <foreach name="list" item="vo">
        <tr data-key="{$vo.id}">
            <td>{$vo.serial_no}</td>
            <td title="{$vo.express_no}"><div class="notbreakline-ellipsis">{$vo.express_no}</div></td>
            <td>{$vo.buyer_name}</td>
            <td>{$vo.delivery_fee}</td>
            <td>{$vo.product_amount}</td>
            <td>{$vo.order_amount}</td>
            <td>{$vo.discount_amount}</td>
            <td>{$vo.create_time}</td>
            <td>{$vo.buyer_remark}</td>
            <td class="status">
        <if condition="$vo['status'] eq '1'">
            <a href="{:U('change_status','id='.$vo['id'].'&status=0')}" title="点击隐藏" class="xsui-success"><i class="fa fa-check fa-fw"></i>显示</a>
            <else/>
            <a href="{:U('change_status','id='.$vo['id'].'&status=1')}" title="点击显示" class="xsui-danger"><i class="fa fa-times fa-fw"></i>隐藏</a>
        </if></td>
            <td class="no-padding">
                <ul class="xsui-operate-group">
                    <li><a href="#" class="xsui-btn ui-state-default xsui-icon-right">操作<i class="fa fa-caret-square-o-down"></i></a>
                        <ul>
                            <li><a href="{:U('order_view','id='.$vo['id'])}" class="xsui-lnk-view-dialog" data-id="{$vo.id}" title="查看订单 {$vo.serial_no}"><i class="fa fa-info fa-fw"></i>查看订单</a></li>
                        </ul>
                    </li>
                </ul>
            </td>
        </tr>
    </foreach>
</tbody>
</table>
<div class="xsui-pagination">{$page}</div>
